#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "constant.h"

@protocol GeneralSpriteDelegate;

@interface GeneralSprite : CCSprite{
@public
	id delegate;
    int number;
    ESpriteType spriteType;
    ESpriteState state;

	
@protected
    CCLabelBMFont *numberLabel;
}
@property (nonatomic, retain) id<GeneralSpriteDelegate> delegate;
@property (readwrite) ESpriteType spriteType;
@property (readwrite) ESpriteState state;
@property (nonatomic, retain) CCLabelBMFont *numberLabel;
@property int number;

-(void) startCorrectEffect;
-(void) startIncorrectEffect;
-(void) startActionWithWave:(int)wave;
@end

@protocol GeneralSpriteDelegate
-(void) completeCorrectEffect:(GeneralSprite *)sprite;
-(void) completeIncorrectEffect:(GeneralSprite *)sprite;
@end